FROM java:8

COPY target/*.jar /blockchain.jar

CMD ["--server.port=8003"]

EXPOSE 8003

ENTRYPOINT ["java","-Xms64m","-Xmx128m","-jar","blockchain.jar"]